.class public Lcom/estrongs/android/scanner/service/g;
.super Lcom/estrongs/android/scanner/service/a;
.source "SingleFileObserver.java"


# instance fields
.field private final e:Ljava/lang/String;

.field private final f:Lcom/estrongs/android/scanner/service/d;


# direct methods
.method public constructor <init>(Ljava/lang/String;Lcom/estrongs/android/scanner/service/d;)V
    .locals 1

    const/16 v0, 0xfcc

    .line 1
    invoke-direct {p0, p1, v0}, Lcom/estrongs/android/scanner/service/a;-><init>(Ljava/lang/String;I)V

    .line 2
    iput-object p1, p0, Lcom/estrongs/android/scanner/service/g;->e:Ljava/lang/String;

    .line 3
    iput-object p2, p0, Lcom/estrongs/android/scanner/service/g;->f:Lcom/estrongs/android/scanner/service/d;

    return-void
.end method

.method private b(ILjava/lang/String;)Z
    .locals 2

    const/16 v0, 0x8

    if-eq v0, p1, :cond_0

    const/4 v0, 0x4

    if-ne v0, p1, :cond_2

    .line 1
    :cond_0
    iget-object p1, p0, Lcom/estrongs/android/scanner/service/g;->e:Ljava/lang/String;

    invoke-virtual {p1}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object p1

    .line 2
    invoke-virtual {p2}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object p2

    const-string v0, "/tencent/tassistant/cache/"

    .line 3
    invoke-virtual {p1, v0}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v0

    const/4 v1, 0x0

    if-eqz v0, :cond_1

    const-string v0, "gameuserapplist"

    invoke-virtual {p2, v0}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    return v1

    :cond_1
    const-string v0, "/backups/system/"

    .line 4
    invoke-virtual {p1, v0}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_2

    const-string p1, ".confd"

    invoke-virtual {p2, p1}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_2

    return v1

    :cond_2
    const/4 p1, 0x1

    return p1
.end method


# virtual methods
.method public a(ILjava/lang/String;)V
    .locals 5

    and-int/lit16 v0, p1, 0xfcc

    if-nez v0, :cond_0

    return-void

    :cond_0
    const/4 v1, 0x0

    .line 1
    iget-object v2, p0, Lcom/estrongs/android/scanner/service/g;->e:Ljava/lang/String;

    const/4 v3, 0x1

    if-eqz p2, :cond_1

    .line 2
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v4, p0, Lcom/estrongs/android/scanner/service/g;->e:Ljava/lang/String;

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 3
    invoke-direct {p0, p1, p2}, Lcom/estrongs/android/scanner/service/g;->b(ILjava/lang/String;)Z

    move-result p1

    if-nez p1, :cond_2

    return-void

    :cond_1
    const/4 v1, 0x1

    .line 4
    :cond_2
    iget-object p1, p0, Lcom/estrongs/android/scanner/service/g;->f:Lcom/estrongs/android/scanner/service/d;

    invoke-interface {p1, v3, v0, v2, v1}, Lcom/estrongs/android/scanner/service/d;->a(IILjava/lang/String;I)V

    return-void
.end method
